<template>
    <van-tabbar v-model="active">
        <van-tabbar-item name="home" icon="home-o" to="/">练习</van-tabbar-item>
        <van-tabbar-item name="search" icon="search" to="/knowledgePoints" >知识点</van-tabbar-item>
        <van-tabbar-item name="records" icon="todo-list-o" to="/noteBook">错题本</van-tabbar-item>
        <van-tabbar-item name="friends" icon="contact" to="/myInformation">我
        </van-tabbar-item>
    </van-tabbar>
</template>

<script >
import { Tabbar, TabbarItem } from 'vant';
export default {
    components: {
        [Tabbar.name]: Tabbar,
        [TabbarItem.name]: TabbarItem
    }

}
</script>


<style scoped>

</style>